package com.study.quiz.service;

import com.study.quiz.pojo.User;

import java.util.List;
import java.util.Set;

/**
 * @author CJunGod
 * @create 2020-03-07 11:12
 **/
public interface UserService {

    User findByToken(String value);

    String findByAccountId(String valueOf);

    Integer insert(User user);

    List<User> selectIds(Set<Integer> commentators);

    User findByUserId(Integer userId);
}
